﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    
    public class MeberTypeBLL
    {
        private MemberTypeDAL _memberTypeDAL = new MemberTypeDAL();

        
        
        public DataTable SelectMemberTpye()
        {
            //调用DAL查询会员类别
            return _memberTypeDAL.SelectMemberType();
        }

        public int AddMemberInfo(MemberInfo memberInfo)
        {
            //调用DAL添加会员信息
            return _memberTypeDAL.InsertMemberInfo(memberInfo);
        }

        
    }
}
